package com.dormitory123.millet.dao;

import com.dormitory123.millet.pojo.Phone;

import java.util.List;

/**
 * @author yanhuanzhan
 * @date 2022/1/4 - 16:49
 */
public interface PhoneDao {
    public List<Phone> list();

    public List<Phone> queryPhonesByType(String type);
    public Phone queryPhoneById(Integer id);

    public int updatePhone(Phone phone);
}
